package com.aspose.cells;

class zjx {
   static double a = 1024.0D;
   static double b = 256.0D;
   private zbnw h;
   private int i;
   zjy c;
   double d;
   double e;
   double f;
   double g;
   private int j;
   private int k;
   private int l;
   private int m;
   private boolean n;

   int a() {
      return this.c == null ? 2 : this.c.a;
   }

   zjx(zbnw var1) {
      this.h = var1;
      this.i = 2;
   }

   void a(zjx var1) {
      this.i = var1.i;
      this.n = var1.n;
      this.d = var1.d;
      this.e = var1.e;
      this.g = var1.g;
      this.f = var1.f;
      this.j = var1.j;
      this.k = var1.k;
      this.l = var1.l;
      this.m = var1.m;
   }

   boolean b() {
      return this.n;
   }

   void a(boolean var1) {
      this.n = true;
   }

   int c() {
      int var1 = 26;
      if (this.d()) {
         var1 -= 2;
      }

      return var1;
   }

   boolean d() {
      return this.h.a().S();
   }

   int e() {
      return this.i;
   }

   void a(int var1) {
      if (this.i != var1) {
         this.i = var1;
      }
   }

   int f() {
      return this.l;
   }

   void b(int var1) {
      this.l = var1;
   }

   int g() {
      return (int)(this.h() + 0.5D);
   }

   void c(int var1) {
      this.a((double)var1);
   }

   double h() {
      return this.e;
   }

   void a(double var1) {
      this.e = var1;
   }

   int i() {
      return this.j;
   }

   void d(int var1) {
      this.j = var1;
   }

   int j() {
      return (int)(this.k() + 0.5D);
   }

   void e(int var1) {
      this.b((double)var1);
   }

   double k() {
      return this.d;
   }

   void b(double var1) {
      this.d = var1;
   }

   int l() {
      return this.m;
   }

   void f(int var1) {
      this.m = var1;
   }

   int m() {
      return this.n() < 0.0D ? (int)this.n() : (int)(this.n() + 0.5D);
   }

   void g(int var1) {
      this.c((double)var1);
   }

   double n() {
      return this.f;
   }

   void c(double var1) {
      this.f = var1;
   }

   int o() {
      return this.k;
   }

   void h(int var1) {
      this.k = var1;
   }

   int p() {
      return this.q() < 0.0D ? (int)this.q() : (int)(this.q() + 0.5D);
   }

   void i(int var1) {
      this.d((double)var1);
   }

   double q() {
      return this.g;
   }

   void d(double var1) {
      this.g = var1;
   }
}
